<template>
    <div class="drillAmount">
        <div>
            <span class="colorNum">{{ data.projectTotal }}</span>
            <img src="@/assets/images/drill/drillData1.png" alt="">
            <span class="colorTitle">项目总数量</span>
        </div>
        <div>
            <span class="colorNum">{{ data.drillTotal }}</span>
            <img src="@/assets/images/drill/drillData2.png" alt="">
            <span class="colorTitle">钻孔总数量</span>
        </div>
    </div>
</template>

<script setup>
const props = defineProps({
    data: {
        default: {},
        type: Object,
    }
})
</script>

<style lang="scss" scoped>
.drillAmount{
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    align-items: center;
    justify-content: space-around;
    div{
        display: flex;
        flex-direction: column;
        justify-content: center;
        span{
            display: inline-block;
            text-align: center;
        }
        .colorNum{
            height: 28px;
            font-size: 24px;
            color: #46FFFF;
        }
        .colorTitle{  
            font-size: 16px;
            color: #E4F5FF;
            font-weight: 400;
        }
    }
}
</style>